Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.0008025/0.0008025, 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.000857/0.000857, 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.9167/0.9167, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7196/0.7196, allocations: 154.5 MB / 413.7 MB, free: 0.832 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.Loads.Examples.ThreePhases,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.007e-05, allocations: 5.344 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01043/0.01045, allocations: 10.49 MB / 0.6283 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.006622/0.01707, allocations: 5.582 MB / 0.6337 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.01807, allocations: 71.38 kB / 0.6338 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002133/0.02021, allocations: 1.734 MB / 0.6355 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002106/0.02231, allocations: 1.208 MB / 0.6367 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.02376, allocations: 0.8252 MB / 0.6375 GB, free: 9.734 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002134/0.0259, allocations: 2.177 MB / 0.6396 GB, free: 7.547 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.02698, allocations: 1.025 MB / 0.6406 GB, free: 6.492 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.02844, allocations: 1.212 MB / 0.6418 GB, free: 5.277 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.02948, allocations: 0.814 MB / 0.6426 GB, free: 4.461 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.02965, allocations: 112 kB / 0.6427 GB, free: 4.352 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.0312, allocations: 1.083 MB / 0.6438 GB, free: 3.262 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003789/0.03158, allocations: 0.5686 MB / 0.6443 GB, free: 2.691 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004446/0.03202, allocations: 0.5377 MB / 0.6448 GB, free: 2.152 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.03427, allocations: 2.48 MB / 0.6473 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.03428, allocations: 0 / 0.6473 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.083e-06/0.03428, allocations: 0 / 0.6473 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.707e-05/0.03431, allocations: 0 / 0.6473 GB, free: 15.66 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002249/0.03656, allocations: 1.828 MB / 0.6491 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.0366, allocations: 9.469 kB / 0.6491 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001792/0.03678, allocations: 207.4 kB / 0.6493 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002372/0.03916, allocations: 0.6865 MB / 0.6499 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.04032, allocations: 0.9206 MB / 0.6508 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.114e-05/0.04037, allocations: 98.89 kB / 0.6509 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.04051, allocations: 128.3 kB / 0.651 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.04274, allocations: 2.404 MB / 0.6534 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/0.04278, allocations: 20.05 kB / 0.6534 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.04289, allocations: 68.03 kB / 0.6535 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001358/0.04302, allocations: 162.3 kB / 0.6536 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002262/0.04528, allocations: 1.859 MB / 0.6555 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006776/0.05206, allocations: 9.382 MB / 0.6646 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/0.05458, allocations: 1.859 MB / 0.6664 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005416/0.05512, allocations: 0.5503 MB / 0.667 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.083e-05/0.05521, allocations: 20.98 kB / 0.667 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.05524, allocations: 47.56 kB / 0.667 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=103): time 2.445e-06/0.05524, allocations: 0 / 0.667 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of matching and sorting (n=110): time 0.00421/0.05945, allocations: 3.126 MB / 0.6701 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.05948, allocations: 68.39 kB / 0.6701 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007059/0.06019, allocations: 0.9591 MB / 0.6711 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.06023, allocations: 41.7 kB / 0.6711 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.06057, allocations: 0.7455 MB / 0.6719 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.06078, allocations: 400.6 kB / 0.6722 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.06104, allocations: 291.4 kB / 0.6725 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.289e-05/0.06113, allocations: 305.1 kB / 0.6728 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006561/0.06179, allocations: 0.6129 MB / 0.6734 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008593/0.06265, allocations: 1.109 MB / 0.6745 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/0.06449, allocations: 1.824 MB / 0.6763 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.06449, allocations: 4 kB / 0.6763 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.2737/0.3382, allocations: 2.104 MB / 0.6783 GB, free: 95.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.3382, allocations: 12.59 kB / 0.6783 GB, free: 95.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.3382, allocations: 15.06 kB / 0.6784 GB, free: 95.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004513/0.3386, allocations: 262.9 kB / 0.6786 GB, free: 95.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006657/0.3393, allocations: 373.1 kB / 0.679 GB, free: 95.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003587/0.3429, allocations: 10.72 MB / 0.6894 GB, free: 85.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000858/0.3438, allocations: 128.4 kB / 0.6895 GB, free: 85.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-05/0.3438, allocations: 73.42 kB / 0.6896 GB, free: 85.28 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004746/0.3443, allocations: 401.7 kB / 0.69 GB, free: 85.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.3444, allocations: 142.5 kB / 0.6901 GB, free: 85.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.346, allocations: 1.67 MB / 0.6918 GB, free: 84.37 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.346, allocations: 17.42 kB / 0.6918 GB, free: 84.37 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.346, allocations: 2.906 kB / 0.6918 GB, free: 84.37 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.346, allocations: 10.64 kB / 0.6918 GB, free: 84.37 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002869/0.3489, allocations: 3.111 MB / 0.6948 GB, free: 83.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.3489, allocations: 9.031 kB / 0.6948 GB, free: 83.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.3493, allocations: 217.2 kB / 0.6951 GB, free: 83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003456/0.3496, allocations: 240.1 kB / 0.6953 GB, free: 82.89 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/0.3497, allocations: 31.09 kB / 0.6953 GB, free: 82.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003077/0.3528, allocations: 10.72 MB / 0.7058 GB, free: 72.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3528, allocations: 5.844 kB / 0.7058 GB, free: 72.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.3542, allocations: 1.8 MB / 0.7075 GB, free: 71.67 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003422/0.3546, allocations: 234.2 kB / 0.7078 GB, free: 71.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-05/0.3546, allocations: 28.75 kB / 0.7078 GB, free: 71.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003751/0.355, allocations: 94.27 kB / 0.7079 GB, free: 71.53 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.3551, allocations: 96.69 kB / 0.708 GB, free: 71.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.3552, allocations: 34.34 kB / 0.708 GB, free: 71.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005048/0.3557, allocations: 0.6189 MB / 0.7086 GB, free: 71.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.3557, allocations: 0 / 0.7086 GB, free: 71.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009462/0.3566, allocations: 397.1 kB / 0.709 GB, free: 71.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001595/0.3582, allocations: 2.381 MB / 0.7113 GB, free: 69.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001904/0.3601, allocations: 2.399 MB / 0.7137 GB, free: 68.38 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3601, allocations: 2.906 kB / 0.7137 GB, free: 68.38 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009197/0.3611, allocations: 1.579 MB / 0.7152 GB, free: 67.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.3621, allocations: 356.5 kB / 0.7155 GB, free: 67.18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.3724, allocations: 11.53 MB / 0.7268 GB, free: 60.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/0.373, allocations: 0.733 MB / 0.7275 GB, free: 60.72 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008028/0.3738, allocations: 359.8 kB / 0.7279 GB, free: 60.66 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004936/0.3743, allocations: 0.5419 MB / 0.7284 GB, free: 60.25 MB / 0.6355 GB Notification: Performance of SimCode: time 2.805e-06/0.3743, allocations: 0 / 0.7284 GB, free: 60.25 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07435/0.4486, allocations: 30.6 MB / 0.7583 GB, free: 52.81 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.78/8.229, allocations: 4 kB / 0.7583 GB, free: 52.8 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_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_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.085563831031322] Failed to read output from testmodel.py, exit status != 0: 8.32879001274705 8.335899276 8.300255857 Calling exit ...