Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008506/0.0008506, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009178/0.0009178, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8949/0.8949, allocations: 177.2 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7474/0.7474, allocations: 154.6 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.112e-05, allocations: 9.016 kB / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005296/0.005317, allocations: 5.88 MB / 0.6238 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003737/0.009055, allocations: 3.102 MB / 0.6268 GB, free: 4.73 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005098/0.009564, allocations: 47.56 kB / 0.6269 GB, free: 4.684 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.01109, allocations: 0.9374 MB / 0.6278 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.01214, allocations: 0.4931 MB / 0.6283 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009749/0.01312, allocations: 0.5095 MB / 0.6288 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001153/0.01427, allocations: 1.127 MB / 0.6299 GB, free: 1.605 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.01527, allocations: 0.5138 MB / 0.6304 GB, free: 1.082 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.01646, allocations: 0.6078 MB / 0.631 GB, free: 484 kB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006084/0.01707, allocations: 426.8 kB / 0.6314 GB, free: 56 kB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.203e-05/0.01715, allocations: 60.05 kB / 0.6314 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006637/0.01782, allocations: 446.7 kB / 0.6319 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.01805, allocations: 315.1 kB / 0.6322 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002465/0.01829, allocations: 271.3 kB / 0.6324 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.01951, allocations: 1.203 MB / 0.6336 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.01951, allocations: 0 / 0.6336 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.075e-06/0.01952, allocations: 7.938 kB / 0.6336 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.01953, allocations: 0 / 0.6336 GB, free: 13.77 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001307/0.02084, allocations: 0.9948 MB / 0.6346 GB, free: 12.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.02088, allocations: 17.41 kB / 0.6346 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001207/0.02101, allocations: 114.7 kB / 0.6347 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008746/0.02188, allocations: 232.2 kB / 0.6349 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006468/0.02253, allocations: 0.5158 MB / 0.6354 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.02256, allocations: 57.61 kB / 0.6355 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.262e-05/0.02263, allocations: 64.31 kB / 0.6355 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.02364, allocations: 1.13 MB / 0.6366 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.02367, allocations: 4.188 kB / 0.6366 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.02372, allocations: 36.09 kB / 0.6367 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.268e-05/0.02378, allocations: 65.28 kB / 0.6367 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007418/0.02452, allocations: 0.6996 MB / 0.6374 GB, free: 9.652 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003045/0.02757, allocations: 4.491 MB / 0.6418 GB, free: 4.996 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005409/0.02811, allocations: 422 kB / 0.6422 GB, free: 4.574 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004883/0.0286, allocations: 384.3 kB / 0.6426 GB, free: 4.191 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.02862, allocations: 4 kB / 0.6426 GB, free: 4.188 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.02865, allocations: 38.56 kB / 0.6426 GB, free: 4.141 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 1.653e-06/0.02865, allocations: 4 kB / 0.6426 GB, free: 4.137 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.002515/0.03117, allocations: 1.722 MB / 0.6443 GB, free: 2.395 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.0312, allocations: 63.33 kB / 0.6444 GB, free: 2.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/0.03156, allocations: 474.8 kB / 0.6448 GB, free: 1.844 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.03158, allocations: 33.64 kB / 0.6448 GB, free: 1.805 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.03177, allocations: 400.1 kB / 0.6452 GB, free: 1.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/0.03185, allocations: 154.7 kB / 0.6454 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.03196, allocations: 114.2 kB / 0.6455 GB, free: 1.141 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.03206, allocations: 362.8 kB / 0.6458 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.03231, allocations: 245.2 kB / 0.6461 GB, free: 0.5352 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.03265, allocations: 464.9 kB / 0.6465 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006239/0.03327, allocations: 0.7519 MB / 0.6472 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.03328, allocations: 0 / 0.6472 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00112/0.0344, allocations: 1.051 MB / 0.6483 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.03441, allocations: 10.19 kB / 0.6483 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.03443, allocations: 19.97 kB / 0.6483 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005705/0.035, allocations: 315.2 kB / 0.6486 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.03517, allocations: 99.81 kB / 0.6487 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005054/0.04023, allocations: 7.061 MB / 0.6556 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/0.04061, allocations: 32.02 kB / 0.6556 GB, free: 6.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/0.04066, allocations: 28 kB / 0.6556 GB, free: 6.043 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000354/0.04101, allocations: 242.6 kB / 0.6559 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.632e-05/0.04111, allocations: 67.56 kB / 0.6559 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/0.04267, allocations: 0.9003 MB / 0.6568 GB, free: 4.809 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.04268, allocations: 4 kB / 0.6568 GB, free: 4.805 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.04269, allocations: 4 kB / 0.6568 GB, free: 4.801 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.04269, allocations: 3.984 kB / 0.6568 GB, free: 4.797 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.04525, allocations: 1.596 MB / 0.6584 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.04525, allocations: 4.031 kB / 0.6584 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.0454, allocations: 43.91 kB / 0.6584 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007751/0.04618, allocations: 307.2 kB / 0.6587 GB, free: 2.762 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.04621, allocations: 12 kB / 0.6587 GB, free: 2.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007969/0.05418, allocations: 7.061 MB / 0.6656 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.05418, allocations: 8 kB / 0.6656 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.05533, allocations: 0.9875 MB / 0.6666 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.05551, allocations: 103.5 kB / 0.6667 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.05555, allocations: 11.98 kB / 0.6667 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.05569, allocations: 19.98 kB / 0.6667 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.915e-05/0.05578, allocations: 43.86 kB / 0.6668 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.05579, allocations: 12 kB / 0.6668 GB, free: 10 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002377/0.05603, allocations: 314.9 kB / 0.6671 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.05603, allocations: 0 / 0.6671 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006181/0.05665, allocations: 192 kB / 0.6673 GB, free: 9.508 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001203/0.05785, allocations: 1.549 MB / 0.6688 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.05911, allocations: 1.151 MB / 0.6699 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.05911, allocations: 0 / 0.6699 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000658/0.05977, allocations: 0.8308 MB / 0.6707 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006143/0.06038, allocations: 210.5 kB / 0.6709 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2413/0.3017, allocations: 5.891 MB / 0.6767 GB, free: 94.79 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.302, allocations: 394.7 kB / 0.6771 GB, free: 94.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002514/0.3022, allocations: 101.6 kB / 0.6771 GB, free: 94.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.3024, allocations: 231.5 kB / 0.6774 GB, free: 94.69 MB / 0.6355 GB Notification: Performance of SimCode: time 1.252e-06/0.3024, allocations: 0.5938 kB / 0.6774 GB, free: 94.69 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.3317, allocations: 17.18 MB / 0.6941 GB, free: 92.78 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.382/7.714, allocations: 7 kB / 0.6942 GB, free: 92.78 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.446602874435484] Failed to read output from testmodel.py, exit status != 0: 7.804236087948084 7.81529824 7.793164689 Calling exit ...