Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.0008431/0.0008431, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009089/0.0009089, allocations: 165.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.8919/0.8919, 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.7327/0.7327, allocations: 154.5 MB / 413.7 MB, free: 0.8242 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_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.656e-05, allocations: 7.531 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01535/0.01538, allocations: 19.1 MB / 0.6367 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009316/0.0247, allocations: 6.383 MB / 0.643 GB, free: 4.152 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002556/0.02725, allocations: 115.1 kB / 0.6431 GB, free: 4.039 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.004004/0.03126, allocations: 2.255 MB / 0.6453 GB, free: 1.777 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002394/0.03365, allocations: 1.278 MB / 0.6465 GB, free: 0.4922 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.03573, allocations: 1.308 MB / 0.6478 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003809/0.03954, allocations: 4.939 MB / 0.6526 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004175/0.04371, allocations: 3.158 MB / 0.6557 GB, free: 7.004 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004394/0.0481, allocations: 3.009 MB / 0.6586 GB, free: 3.988 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00311/0.05121, allocations: 2.194 MB / 0.6608 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0008317/0.05205, allocations: 428 kB / 0.6612 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.05367, allocations: 0.9514 MB / 0.6621 GB, free: 428 kB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001369/0.05503, allocations: 1.789 MB / 0.6639 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001865/0.0569, allocations: 1.329 MB / 0.6652 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005886/0.06279, allocations: 6.646 MB / 0.6717 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.06279, allocations: 0 / 0.6717 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.954e-06/0.06279, allocations: 4 kB / 0.6717 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002145/0.06301, allocations: 7.938 kB / 0.6717 GB, free: 6.617 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007122/0.07013, allocations: 3.43 MB / 0.675 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.07018, allocations: 9.469 kB / 0.675 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005558/0.07074, allocations: 458.5 kB / 0.6755 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/0.07273, allocations: 0.6584 MB / 0.6761 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2763/0.3491, allocations: 1.986 MB / 0.678 GB, free: 94.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002442/0.3493, allocations: 221.5 kB / 0.6783 GB, free: 94.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001163/0.3505, allocations: 295.9 kB / 0.6785 GB, free: 94.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006375/0.3568, allocations: 5.243 MB / 0.6837 GB, free: 92.17 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.882e-05/0.3569, allocations: 9.797 kB / 0.6837 GB, free: 92.17 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/0.3571, allocations: 129 kB / 0.6838 GB, free: 92.08 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000266/0.3573, allocations: 227.2 kB / 0.684 GB, free: 92.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004055/0.3614, allocations: 3.751 MB / 0.6877 GB, free: 90.76 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01074/0.3721, allocations: 13.56 MB / 0.7009 GB, free: 82.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.3732, allocations: 1.224 MB / 0.7021 GB, free: 81.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008609/0.3741, allocations: 0.9841 MB / 0.7031 GB, free: 81.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.096e-05/0.3741, allocations: 11.75 kB / 0.7031 GB, free: 81.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3742, allocations: 44.44 kB / 0.7031 GB, free: 81.47 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=107): time 3.085e-06/0.3742, allocations: 0.5938 kB / 0.7031 GB, free: 81.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=138): time 0.01338/0.3875, allocations: 8.439 MB / 0.7114 GB, free: 79.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.3876, allocations: 66.88 kB / 0.7114 GB, free: 79.01 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.3887, allocations: 1.153 MB / 0.7126 GB, free: 78.56 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.3888, allocations: 51.77 kB / 0.7126 GB, free: 78.51 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000473/0.3893, allocations: 1.335 MB / 0.7139 GB, free: 77.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.3895, allocations: 0.4896 MB / 0.7144 GB, free: 77.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/0.3898, allocations: 286.4 kB / 0.7147 GB, free: 77.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.323e-05/0.3899, allocations: 301.1 kB / 0.7149 GB, free: 76.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008888/0.3907, allocations: 0.9144 MB / 0.7158 GB, free: 76.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.3919, allocations: 1.328 MB / 0.7171 GB, free: 75.63 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002351/0.3943, allocations: 2.422 MB / 0.7195 GB, free: 74.26 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.3943, allocations: 4.562 kB / 0.7195 GB, free: 74.26 MB / 0.6355 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003951/0.3982, allocations: 3.435 MB / 0.7229 GB, free: 72.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.3982, allocations: 11.89 kB / 0.7229 GB, free: 72.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.3983, allocations: 12.16 kB / 0.7229 GB, free: 72.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00201/0.4003, allocations: 1.175 MB / 0.724 GB, free: 72.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005913/0.4009, allocations: 260.8 kB / 0.7243 GB, free: 72.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.4122, allocations: 13.35 MB / 0.7373 GB, free: 64.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.4134, allocations: 88.88 kB / 0.7374 GB, free: 64.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-05/0.4135, allocations: 62.97 kB / 0.7375 GB, free: 64.53 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001723/0.4153, allocations: 1.116 MB / 0.7385 GB, free: 64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002617/0.4155, allocations: 169.1 kB / 0.7387 GB, free: 63.92 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003857/0.4194, allocations: 3.139 MB / 0.7418 GB, free: 62.64 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.4194, allocations: 14.34 kB / 0.7418 GB, free: 62.64 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-05/0.4194, allocations: 14.25 kB / 0.7418 GB, free: 62.64 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/0.4194, allocations: 9.141 kB / 0.7418 GB, free: 62.64 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00852/0.4279, allocations: 5.904 MB / 0.7476 GB, free: 60.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.428, allocations: 8.531 kB / 0.7476 GB, free: 60.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004126/0.4284, allocations: 146.6 kB / 0.7477 GB, free: 60.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002127/0.4305, allocations: 1.064 MB / 0.7488 GB, free: 59.92 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.92e-05/0.4306, allocations: 30.66 kB / 0.7488 GB, free: 59.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009212/0.4398, allocations: 13.07 MB / 0.7615 GB, free: 49.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4398, allocations: 4 kB / 0.7616 GB, free: 49.51 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003015/0.4428, allocations: 3.112 MB / 0.7646 GB, free: 46.31 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006904/0.4435, allocations: 354.8 kB / 0.7649 GB, free: 45.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.4436, allocations: 35.98 kB / 0.765 GB, free: 45.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004392/0.4441, allocations: 79.91 kB / 0.765 GB, free: 45.85 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003556/0.4444, allocations: 128.6 kB / 0.7652 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.047e-05/0.4445, allocations: 40 kB / 0.7652 GB, free: 45.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006547/0.4451, allocations: 0.7632 MB / 0.7659 GB, free: 44.92 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4451, allocations: 0 / 0.7659 GB, free: 44.92 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002365/0.4475, allocations: 0.6641 MB / 0.7666 GB, free: 44.25 MB / 0.6355 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003286/0.4508, allocations: 3.701 MB / 0.7702 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003599/0.4544, allocations: 3.007 MB / 0.7731 GB, free: 37.42 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.4544, allocations: 0 / 0.7731 GB, free: 37.42 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.4561, allocations: 1.887 MB / 0.775 GB, free: 35.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/0.4579, allocations: 0.4894 MB / 0.7755 GB, free: 35.04 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01984/0.4777, allocations: 19.22 MB / 0.7942 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001618/0.4793, allocations: 1.765 MB / 0.796 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006888/0.48, allocations: 350.1 kB / 0.7963 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000617/0.4807, allocations: 1.012 MB / 0.7973 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of SimCode: time 1.663e-06/0.4807, allocations: 0 / 0.7973 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07692/0.5576, allocations: 55.86 MB / 0.8518 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.349/8.906, allocations: 14.14 kB / 0.8518 GB, free: 5.02 MB / 0.6823 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.705107598565519] Failed to read output from testmodel.py, exit status != 0: 9.01050035096705 9.021607327 8.956422221 Calling exit ...