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.0007769/0.0007769, 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.0009288/0.0009288, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9386/0.9386, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.7122/0.7122, allocations: 154.5 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.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 2.074e-06/2.074e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.224e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02708/0.0271, allocations: 35.65 MB / 0.6529 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01296/0.04006, allocations: 10.95 MB / 0.6636 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002157/0.04222, allocations: 206.5 kB / 0.6638 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004897/0.04712, allocations: 4.385 MB / 0.6681 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003775/0.05089, allocations: 2.4 MB / 0.6704 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.05412, allocations: 2.189 MB / 0.6725 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.3085/0.3626, allocations: 9.458 MB / 0.6818 GB, free: 52.5 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009245/0.3719, allocations: 6.35 MB / 0.688 GB, free: 52 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006603/0.3785, allocations: 5.781 MB / 0.6936 GB, free: 51.64 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004484/0.3829, allocations: 4.186 MB / 0.6977 GB, free: 51.35 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001407/0.3844, allocations: 0.8213 MB / 0.6985 GB, free: 51.35 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.3865, allocations: 1.519 MB / 0.7 GB, free: 51.3 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0019/0.3884, allocations: 3.375 MB / 0.7033 GB, free: 50.99 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002906/0.3913, allocations: 2.563 MB / 0.7058 GB, free: 50.75 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.009672/0.401, allocations: 12.56 MB / 0.7181 GB, free: 47.34 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.401, allocations: 1.25 kB / 0.7181 GB, free: 47.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.924e-06/0.401, allocations: 0 / 0.7181 GB, free: 47.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002035/0.4012, allocations: 1.797 kB / 0.7181 GB, free: 47.34 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.01248/0.4136, allocations: 6.329 MB / 0.7242 GB, free: 44 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.48e-05/0.4137, allocations: 11.31 kB / 0.7243 GB, free: 44 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00101/0.4147, allocations: 0.8312 MB / 0.7251 GB, free: 43.56 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003106/0.4178, allocations: 1.112 MB / 0.7262 GB, free: 43.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004841/0.4227, allocations: 3.57 MB / 0.7296 GB, free: 41.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002386/0.4229, allocations: 420 kB / 0.73 GB, free: 41.42 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007167/0.4236, allocations: 0.5486 MB / 0.7306 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/0.4341, allocations: 10.29 MB / 0.7406 GB, free: 36.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000127/0.4342, allocations: 22.89 kB / 0.7406 GB, free: 36.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005198/0.4347, allocations: 246.7 kB / 0.7409 GB, free: 36.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004928/0.4352, allocations: 427 kB / 0.7413 GB, free: 36.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009189/0.4444, allocations: 7.116 MB / 0.7482 GB, free: 33.65 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0198/0.4642, allocations: 26.23 MB / 0.7738 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002477/0.4667, allocations: 2.904 MB / 0.7767 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00166/0.4684, allocations: 1.929 MB / 0.7786 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.421e-05/0.4684, allocations: 21.72 kB / 0.7786 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.4685, allocations: 68.22 kB / 0.7787 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=209): time 3.607e-06/0.4685, allocations: 0 / 0.7787 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=212): time 0.0133/0.4818, allocations: 10.27 MB / 0.7887 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.4818, allocations: 73.41 kB / 0.7887 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/0.4833, allocations: 2.056 MB / 0.7908 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.415e-05/0.4834, allocations: 69.7 kB / 0.7908 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009671/0.4844, allocations: 2.462 MB / 0.7932 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004383/0.4848, allocations: 0.7623 MB / 0.794 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005021/0.4853, allocations: 477.5 kB / 0.7944 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.483e-05/0.4854, allocations: 309.1 kB / 0.7947 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.4868, allocations: 1.372 MB / 0.7961 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.4885, allocations: 2.109 MB / 0.7981 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003295/0.4918, allocations: 3.764 MB / 0.8018 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.4918, allocations: 8 kB / 0.8018 GB, free: 5.184 MB / 0.6511 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005145/0.4969, allocations: 5.026 MB / 0.8067 GB, free: 332 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.4969, allocations: 16 kB / 0.8067 GB, free: 316 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/0.497, allocations: 27.94 kB / 0.8068 GB, free: 288 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00214/0.4991, allocations: 1.578 MB / 0.8083 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009186/0.5, allocations: 456.1 kB / 0.8087 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01479/0.5148, allocations: 17.91 MB / 0.8262 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.5161, allocations: 139.9 kB / 0.8264 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.5163, allocations: 122.3 kB / 0.8265 GB, free: 11.73 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.002592/0.5189, allocations: 1.936 MB / 0.8284 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/0.5191, allocations: 306.2 kB / 0.8287 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004644/0.5238, allocations: 4.394 MB / 0.8329 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.5238, allocations: 24 kB / 0.833 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.768e-05/0.5238, allocations: 20 kB / 0.833 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.5238, allocations: 11.95 kB / 0.833 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009572/0.5334, allocations: 9.156 MB / 0.8419 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.5334, allocations: 11.22 kB / 0.8419 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005023/0.5339, allocations: 233.5 kB / 0.8422 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002123/0.536, allocations: 1.43 MB / 0.8436 GB, free: 10.26 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.93e-05/0.5361, allocations: 36 kB / 0.8436 GB, free: 10.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0142/0.5503, allocations: 17.91 MB / 0.8611 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5503, allocations: 4 kB / 0.8611 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004409/0.5547, allocations: 4.499 MB / 0.8655 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007791/0.5555, allocations: 0.5721 MB / 0.8661 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.5557, allocations: 44 kB / 0.8661 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006675/0.5564, allocations: 123.8 kB / 0.8662 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002929/0.5567, allocations: 189.2 kB / 0.8664 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-05/0.5567, allocations: 60 kB / 0.8664 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001121/0.5579, allocations: 1.311 MB / 0.8677 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5579, allocations: 0 / 0.8677 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002158/0.56, allocations: 1.141 MB / 0.8688 GB, free: 15.94 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.004691/0.5647, allocations: 5.109 MB / 0.8738 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00433/0.569, allocations: 4.534 MB / 0.8783 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.569, allocations: 0 / 0.8783 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002792/0.5718, allocations: 2.806 MB / 0.881 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/0.5739, allocations: 0.8925 MB / 0.8819 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03213/0.606, allocations: 30.64 MB / 0.9118 GB, free: 3.066 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002793/0.6088, allocations: 3.163 MB / 0.9149 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001273/0.6101, allocations: 0.5557 MB / 0.9154 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001581/0.6117, allocations: 1.949 MB / 0.9173 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of SimCode: time 1.022e-06/0.6117, allocations: 0 / 0.9173 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3617/0.9734, allocations: 90.32 MB / 1.006 GB, free: 275.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.278/10.25, allocations: 11.31 kB / 1.006 GB, free: 275.4 MB / 0.8386 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_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.170870883390307] Failed to read output from testmodel.py, exit status != 0: 10.37681376375258 10.384230851 9.98154858 Calling exit ...