Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.0009486/0.0009486, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.001127/0.001127, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.924/0.924, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7437/0.7437, allocations: 154.6 MB / 413.7 MB, free: 0.8164 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.786e-05, allocations: 9.125 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0295/0.02952, allocations: 35.64 MB / 0.6529 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0141/0.04363, allocations: 10.95 MB / 0.6636 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003587/0.04721, allocations: 202.6 kB / 0.6638 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.007103/0.05432, allocations: 4.393 MB / 0.6681 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006378/0.06069, allocations: 2.4 MB / 0.6704 GB, free: 7.945 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005505/0.0662, allocations: 2.198 MB / 0.6725 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.3317/0.3979, allocations: 9.454 MB / 0.6818 GB, free: 52.46 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008239/0.4061, allocations: 6.346 MB / 0.688 GB, free: 51.95 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009134/0.4153, allocations: 5.78 MB / 0.6936 GB, free: 51.6 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006425/0.4217, allocations: 4.188 MB / 0.6977 GB, free: 51.3 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002359/0.424, allocations: 0.8244 MB / 0.6985 GB, free: 51.3 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004196/0.4282, allocations: 1.513 MB / 0.7 GB, free: 51.26 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.004058/0.4323, allocations: 3.372 MB / 0.7033 GB, free: 50.95 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.005387/0.4377, allocations: 2.566 MB / 0.7058 GB, free: 50.71 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01589/0.4536, allocations: 12.56 MB / 0.7181 GB, free: 47.33 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.4536, allocations: 5.188 kB / 0.7181 GB, free: 47.33 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.355e-06/0.4536, allocations: 0 / 0.7181 GB, free: 47.33 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004295/0.454, allocations: 5.25 kB / 0.7181 GB, free: 47.33 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02079/0.4748, allocations: 6.329 MB / 0.7243 GB, free: 43.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.4748, allocations: 11.75 kB / 0.7243 GB, free: 43.98 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003863/0.4787, allocations: 0.8264 MB / 0.7251 GB, free: 43.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007165/0.4859, allocations: 1.113 MB / 0.7262 GB, free: 43.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01222/0.4981, allocations: 3.57 MB / 0.7296 GB, free: 41.58 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004891/0.4986, allocations: 427.1 kB / 0.73 GB, free: 41.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00309/0.5017, allocations: 0.5412 MB / 0.7306 GB, free: 41.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02649/0.5282, allocations: 10.28 MB / 0.7406 GB, free: 36.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003071/0.5285, allocations: 24.48 kB / 0.7406 GB, free: 36.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002422/0.5309, allocations: 247.4 kB / 0.7409 GB, free: 36.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006666/0.5316, allocations: 422.8 kB / 0.7413 GB, free: 36.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/0.546, allocations: 7.121 MB / 0.7482 GB, free: 33.63 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03172/0.5777, allocations: 26.23 MB / 0.7739 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/0.5803, allocations: 2.897 MB / 0.7767 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/0.582, allocations: 1.934 MB / 0.7786 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.379e-05/0.5821, allocations: 22.16 kB / 0.7786 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.5821, allocations: 57.44 kB / 0.7786 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=209): time 4.959e-06/0.5821, allocations: 6.672 kB / 0.7787 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=212): time 0.01392/0.596, allocations: 10.27 MB / 0.7887 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.5961, allocations: 73.41 kB / 0.7887 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.5979, allocations: 2.056 MB / 0.7908 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.5981, allocations: 65.7 kB / 0.7908 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009958/0.5991, allocations: 2.472 MB / 0.7932 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000497/0.5996, allocations: 0.761 MB / 0.794 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005283/0.6001, allocations: 477.5 kB / 0.7944 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.925e-05/0.6002, allocations: 304.9 kB / 0.7947 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/0.6016, allocations: 1.379 MB / 0.7961 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/0.6036, allocations: 2.102 MB / 0.7981 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003433/0.607, allocations: 3.771 MB / 0.8018 GB, free: 5.195 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/0.6071, allocations: 4 kB / 0.8018 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006032/0.6131, allocations: 5.03 MB / 0.8067 GB, free: 336 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.6131, allocations: 12 kB / 0.8067 GB, free: 324 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.6131, allocations: 25.88 kB / 0.8068 GB, free: 300 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002194/0.6153, allocations: 1.587 MB / 0.8083 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009236/0.6163, allocations: 456.8 kB / 0.8087 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01612/0.6324, allocations: 17.9 MB / 0.8262 GB, free: 12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/0.6347, allocations: 151.8 kB / 0.8264 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/0.6349, allocations: 104 kB / 0.8265 GB, free: 11.75 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003158/0.6381, allocations: 1.948 MB / 0.8284 GB, free: 9.824 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007161/0.6388, allocations: 302.2 kB / 0.8287 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005433/0.6443, allocations: 4.398 MB / 0.833 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.6443, allocations: 24 kB / 0.833 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-05/0.6443, allocations: 16 kB / 0.833 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.6443, allocations: 7.969 kB / 0.833 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/0.6574, allocations: 9.171 MB / 0.842 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.6574, allocations: 4.562 kB / 0.842 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005649/0.6579, allocations: 234.4 kB / 0.8422 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002009/0.6599, allocations: 1.431 MB / 0.8436 GB, free: 10.26 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.6601, allocations: 36 kB / 0.8436 GB, free: 10.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01545/0.6755, allocations: 17.9 MB / 0.8611 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.6755, allocations: 5.688 kB / 0.8611 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005988/0.6815, allocations: 4.495 MB / 0.8655 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/0.6829, allocations: 0.5828 MB / 0.8661 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000283/0.6832, allocations: 40 kB / 0.8661 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007634/0.684, allocations: 115.9 kB / 0.8662 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004346/0.6844, allocations: 193 kB / 0.8664 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.862e-05/0.6845, allocations: 56 kB / 0.8664 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00131/0.6858, allocations: 1.315 MB / 0.8677 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.6858, allocations: 0 / 0.8677 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002939/0.6887, allocations: 1.141 MB / 0.8688 GB, free: 15.95 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004877/0.6936, allocations: 5.108 MB / 0.8738 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006192/0.6998, allocations: 4.536 MB / 0.8783 GB, free: 6.359 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/0.6998, allocations: 4 kB / 0.8783 GB, free: 6.355 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003227/0.703, allocations: 2.799 MB / 0.881 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003114/0.7062, allocations: 0.8978 MB / 0.8819 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04344/0.7496, allocations: 30.63 MB / 0.9118 GB, free: 3.074 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004596/0.7542, allocations: 3.163 MB / 0.9149 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001595/0.7558, allocations: 0.5518 MB / 0.9154 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001999/0.7578, allocations: 1.949 MB / 0.9173 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of SimCode: time 1.613e-06/0.7578, allocations: 0 / 0.9173 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3992/1.157, allocations: 90.33 MB / 1.006 GB, free: 275.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.637/10.79, allocations: 11.58 kB / 1.006 GB, free: 275.3 MB / 0.8386 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.816637328825891] Failed to read output from testmodel.py, exit status != 0: 10.92166288383305 10.930508768 10.4739442 Calling exit ...